package com.ziyun.pop.modules.goods.TwbVo;

import com.utility.New;
import com.ziyun.pop.modules.goods.entity.GoodsEntity;
import com.ziyun.pop.modules.storeGoodsCategoryTwd.entity.StoreGoodsCategoryTwdEntity;

import java.util.List;

public class TwbCategoryAndGoodsVo {

    private List<Integer> choiceGoodsId;

    private StoreGoodsCategoryTwdEntity categoryEntity;

    private List<GoodsEntity> goodsList;

    public List<Integer> getChoiceGoodsId() {
        if(choiceGoodsId == null){
            return New.arrayList();
        }
        return choiceGoodsId;
    }

    public void setChoiceGoodsId(List<Integer> choiceGoodsId) {

        this.choiceGoodsId = choiceGoodsId;
    }

    public StoreGoodsCategoryTwdEntity getCategoryEntity() {
        return categoryEntity;
    }

    public void setCategoryEntity(StoreGoodsCategoryTwdEntity categoryEntity) {
        this.categoryEntity = categoryEntity;
    }

    public List<GoodsEntity> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsEntity> goodsList) {
        this.goodsList = goodsList;
    }
}
